﻿<Window x:Class="Hockey.UILayer.Forms.HelpForm"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:loc="http://schemas.tomer.com/winfx/2006/xaml/presentation"                                                                                        
        WindowStyle="ToolWindow" ShowInTaskbar="False" ResizeMode="NoResize"
        xmlns:service="clr-namespace:MVVMDialogs;assembly=MVVMDialog"              
        service:DialogService.IsRegisteredView="True"     
        WindowStartupLocation="CenterOwner"        
        Background="{DynamicResource WindowBackgroundBrush}"                
        Title="{loc:Translate Default='Nápověda'}" Height="480" Width="640">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <ScrollViewer Grid.Row="0" Margin="10">
            <RichTextBox x:Name="uxRtf" IsReadOnly="True" Foreground="Black" Padding="10" />
        </ScrollViewer>

        <Button Grid.Row="1" Margin="10" Content="{loc:Translate Default='Zavřít'}" HorizontalAlignment="Right" Width="100" Command="{Binding Path=CloseCommand}" />
    </Grid>
</Window>
